package 设计模式.c_抽象方法;

/**
 * @author caihe
 * @date 2023/3/8 16:48
 */
public class GoldFactory extends AbstractFactory {
    @Override
    public Coin getCoin() {
        return new GoldCoin();
    }

    @Override
    public Star getStar() {
        return new GoldStar();
    }
}
